class FreshJuice {
    enum FreshJuiceSize{ SMALL, MEDIUM , LARGE }
    FreshJuiceSize size;
}

public class FreshJuiceTest {
    public static void main(String[] args){
        FreshJuice juice = new FreshJuice();
        var juice1 = new FreshJuice(); // 这种方法更简单，使用 var（局部变量类型推断）
        juice.size = FreshJuice.FreshJuiceSize.MEDIUM  ;
        juice1.size = FreshJuice.FreshJuiceSize.SMALL;
        System.out.println(juice.size);
        System.out.println(juice1.size);
    }
}